<div class="bjui-pageContent" >
        <div data-layout-h="0">
                <!-- 内容区 -->
                <form action="{:U('Sales/account_add')}" class="pageForm nice-validator n-red" data-loadingmask='false' data-toggle="validate" novalidate="novalidate" data-reload-navtab="true" method="post" >
                        <input type="hidden" name="id" value="{$_GET.id|default=''}" />
                        <table class="table table-condensed table-hover">
                                <tr>
                                        <th ><label style='margin-left:40px;'>银行名称：</label></th>
                                        <td>
                                                <select name="cid" data-toggle="selectpicker"  >
                                                     <option value="">请选择银行</option>
                                                        {volist name="bank" id="vo"}
                                                        <option value="{$vo.id}" {eq name="vo.id" value="$pay['cid']"}selected{/eq}>{$vo.name}</option>
                                                {/volist}
                                                </select>
                                        </td>

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>户名：</label></th>
                                        <td>
                                            <input type="text" data-rule="required"  name="master" value="{$pay.master|default=''}"/>
                                        </td>
                                        

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>开户行：</label></th>
                                        <td>
                                            <input type="text" data-rule="required"  name="bank" value="{$pay.bank|default=''}"/>
                                        </td>
                                        

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>账号：</label></th>
                                        <td>
                                            <input type="text" data-rule="required"  name="account" value="{$pay.account|default=''}"/>
                                        </td>
                                        

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>账户类型：</label></th>
                                        <td>
                                                <select name="type" data-toggle="selectpicker"  >
                                                        <option value='1' {eq name='pay.type' value='1'} selected="selected" {/eq} >对公账户</option>
                                                        <option value='0' {eq name='pay.type' value='0'} selected="selected" {/eq}>对私账户</option>
                                                </select>
                                        </td>

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>状态：</label></th>
                                        <td>
                                                <select name="status" data-toggle="selectpicker"  >
                                                        <option value='1' {eq name='pay.status' value='1'} selected="selected" {/eq} >禁用</option>
                                                        <option value='0' {eq name='pay.status' value='0'} selected="selected" {/eq}>启用</option>
                                                </select>
                                        </td>

                                </tr>
                        </table>
                </form>
        </div>

</div>
<div class="bjui-pageFooter" border='none'>
        <ul>
                <li><button type="button" class="btn btn-close">关闭</button></li>
                <li><button type="submit" class="btn btn-default">提交</button></li>
        </ul>
</div>